A professor in Hathras, Uttar Pradesh, who was acquitted of sexual exploitation charges, has taken voluntary retirement and been barred from the college premises.